package com.goldcn.order.model;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class OrderInfo {
    private Long orderID;
    @ApiModelProperty(value = "订单编号")
    private String orderNO;
    @ApiModelProperty(value = "1微信支付 2建行支付 3支付宝 11现金支付 12银行转账 13银联支付  99其他")
    private Integer payType;
    @ApiModelProperty(value = "支付单号")
    private String payNo;
    @ApiModelProperty(value = "卖家ID")
    private Long sellerID;
    @ApiModelProperty(value = "卖家名")
    private String sellerName;
    @ApiModelProperty(value = "订单下的商品总数")
    private Integer qty;
    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "部门扣点金额")
    private BigDecimal commission;
    @ApiModelProperty(value = "员工扣点金额")
    private BigDecimal employeeCommission;
    @ApiModelProperty(value = "0取消(失效)1未付款2待发货3已发货4完成5卖家确认")
    private Integer state;
    @ApiModelProperty(value = "分行ID")
    private Long branchID;
    @ApiModelProperty(value = "二级分行ID")
    private Long twoLevelBranchID;
    @ApiModelProperty(value = "支行ID")
    private Long subbranchID;
    @ApiModelProperty(value = "销售经理用户ID->SHOPID")
    private Long salesManagerID;
    @ApiModelProperty(value = "上级销售顾问ID->店长ID")
    private Long salesID;
    @ApiModelProperty(value = "买家用户ID")
    private Long userID;
    @ApiModelProperty(value = "买家名")
    private String userName;
    @ApiModelProperty(value = "地址ID")
    private String addressID;
    @ApiModelProperty(value = "1需要发票，0不需要")
    private Integer invoices;
    @ApiModelProperty(value = "发票抬头")
    private String invoicesHead;
    @ApiModelProperty(value = "发票类型")
    private Integer invoicesType;
    @ApiModelProperty(value = "下单时间")
    private Long addTime;
    @ApiModelProperty(value = "付款时间")
    private Long payTime;
    @ApiModelProperty(value = "发货时间")
    private Long sendTime;
    @ApiModelProperty(value = "订单完成时间")
    private Long finishTime;
    @ApiModelProperty(value = "卖家确认时间")
    private Long sureTime;

    @ApiModelProperty(value = "金豆数量，即抵扣金豆数量")
    private BigDecimal pointQty;

    @ApiModelProperty(value = "金豆金额,即抵扣额/优惠金额，根据锁定金价来计算")
    private BigDecimal pointAmount;

    @ApiModelProperty(value = "优惠类型: 1:金豆 2:优惠券,默认1", dataType = "String", required = false)
    private String couponType = "1";

    private String md5;

    private String receiverAddress;
    private String receiverName;
    private String receiverPhone;

    private Long companyID;

    private String opathName;

    @ApiModelProperty(value = "订单类型")
    private Integer orderType;

    @ApiModelProperty(value = "核销code")
    private String checkCode;
    @ApiModelProperty(value = "核销人id")
    private Long checkUserID;
    @ApiModelProperty(value = "核销人名称")
    private String checkUserName;
    @ApiModelProperty(value = "核销失效时间")
    private Long checkInvalidTime;
    @ApiModelProperty(value = "核销备注")
    private String checkMemo;
    @ApiModelProperty(value = "用户备注")
    private String userMemo;
    @ApiModelProperty(value = "撤销原因")
    private String cancelMemo;
    @ApiModelProperty(value = "撤销用户id")
    private Long cancelUserID;
    @ApiModelProperty(value = "撤销用户名")
    private String cancelUserName;
    @ApiModelProperty(value = "撤销时间")
    private Long cancelTime;
    @ApiModelProperty(value = "订单支付类型0线上 1线下")
    private Integer orderPayType;

    private String invoicesNO;

    private BigDecimal transactionFee;//手续费
    private BigDecimal otherFee;//其他费用
    private Integer type;


    @ApiModelProperty(value = "供应商结算金额")
    private BigDecimal dueAmount;

    private Long shopID;

    private Long storeManagerID;


    public Integer getOrderPayType() {
        return orderPayType;
    }

    public void setOrderPayType(Integer orderPayType) {
        this.orderPayType = orderPayType;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public Long getOrderID() {
        return orderID;
    }

    public void setOrderID(Long orderID) {
        this.orderID = orderID;
    }

    public String getOrderNO() {
        return orderNO;
    }

    public void setOrderNO(String orderNO) {
        this.orderNO = orderNO;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public Long getSellerID() {
        return sellerID;
    }

    public void setSellerID(Long sellerID) {
        this.sellerID = sellerID;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public Integer getqty() {
        return qty;
    }

    public void setqty(Integer qty) {
        this.qty = qty;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getBranchID() {
        return branchID;
    }

    public void setBranchID(Long branchID) {
        this.branchID = branchID;
    }

    public Long getTwoLevelBranchID() {
        return twoLevelBranchID;
    }

    public void setTwoLevelBranchID(Long twoLevelBranchID) {
        this.twoLevelBranchID = twoLevelBranchID;
    }

    public Long getSubbranchID() {
        return subbranchID;
    }

    public void setSubbranchID(Long subbranchID) {
        this.subbranchID = subbranchID;
    }

    public Long getSalesManagerID() {
        return salesManagerID;
    }

    public void setSalesManagerID(Long salesManagerID) {
        this.salesManagerID = salesManagerID;
    }

    public Long getSalesID() {
        return salesID;
    }

    public void setSalesID(Long salesID) {
        this.salesID = salesID;
    }

    public Long getUserID() {
        return userID;
    }

    public void setUserID(Long userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAddressID() {
        return addressID;
    }

    public void setAddressID(String addressID) {
        this.addressID = addressID;
    }

    public Integer getInvoices() {
        return invoices;
    }

    public void setInvoices(Integer invoices) {
        this.invoices = invoices;
    }

    public String getInvoicesHead() {
        return invoicesHead;
    }

    public void setInvoicesHead(String invoicesHead) {
        this.invoicesHead = invoicesHead;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getPayTime() {
        return payTime;
    }

    public void setPayTime(Long payTime) {
        this.payTime = payTime;
    }

    public Long getSendTime() {
        return sendTime;
    }

    public void setSendTime(Long sendTime) {
        this.sendTime = sendTime;
    }

    public Long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Long finishTime) {
        this.finishTime = finishTime;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getSureTime() {
        return sureTime;
    }

    public void setSureTime(Long sureTime) {
        this.sureTime = sureTime;
    }

    public BigDecimal getPointQty() {
        return pointQty;
    }

    public void setPointQty(BigDecimal pointQty) {
        this.pointQty = pointQty;
    }

    public BigDecimal getPointAmount() {
        return pointAmount;
    }

    public void setPointAmount(BigDecimal pointAmount) {
        this.pointAmount = pointAmount;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public Long getCompanyID() {
        return companyID;
    }

    public void setCompanyID(Long companyID) {
        this.companyID = companyID;
    }

    public Integer getInvoicesType() {
        return invoicesType;
    }

    public void setInvoicesType(Integer invoicesType) {
        this.invoicesType = invoicesType;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getOpathName() {
        return opathName;
    }

    public void setOpathName(String opathName) {
        this.opathName = opathName;
    }


    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public Long getCheckUserID() {
        return checkUserID;
    }

    public void setCheckUserID(Long checkUserID) {
        this.checkUserID = checkUserID;
    }

    public String getCheckUserName() {
        return checkUserName;
    }

    public void setCheckUserName(String checkUserName) {
        this.checkUserName = checkUserName;
    }

    public Long getCheckInvalidTime() {
        return checkInvalidTime;
    }

    public void setCheckInvalidTime(Long checkInvalidTime) {
        this.checkInvalidTime = checkInvalidTime;
    }

    public String getCheckMemo() {
        return checkMemo;
    }

    public void setCheckMemo(String checkMemo) {
        this.checkMemo = checkMemo;
    }

    public String getUserMemo() {
        return userMemo;
    }

    public void setUserMemo(String userMemo) {
        this.userMemo = userMemo;
    }

    public String getCancelMemo() {
        return cancelMemo;
    }

    public void setCancelMemo(String cancelMemo) {
        this.cancelMemo = cancelMemo;
    }

    public Long getCancelUserID() {
        return cancelUserID;
    }

    public void setCancelUserID(Long cancelUserID) {
        this.cancelUserID = cancelUserID;
    }

    public String getCancelUserName() {
        return cancelUserName;
    }

    public void setCancelUserName(String cancelUserName) {
        this.cancelUserName = cancelUserName;
    }

    public Long getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Long cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getInvoicesNO() {
        return invoicesNO;
    }

    public void setInvoicesNO(String invoicesNO) {
        this.invoicesNO = invoicesNO;
    }

    public BigDecimal getEmployeeCommission() {
        return employeeCommission;
    }

    public void setEmployeeCommission(BigDecimal employeeCommission) {
        this.employeeCommission = employeeCommission;
    }


    public BigDecimal getTransactionFee() {
        return transactionFee;
    }

    public void setTransactionFee(BigDecimal transactionFee) {
        this.transactionFee = transactionFee;
    }

    public BigDecimal getOtherFee() {
        return otherFee;
    }

    public void setOtherFee(BigDecimal otherFee) {
        this.otherFee = otherFee;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getDueAmount() {
        return dueAmount;
    }

    public void setDueAmount(BigDecimal dueAmount) {
        this.dueAmount = dueAmount;
    }

    public Long getShopID() {
        return shopID;
    }

    public void setShopID(Long shopID) {
        this.shopID = shopID;
    }

    public Long getStoreManagerID() {
        return storeManagerID;
    }

    public void setStoreManagerID(Long storeManagerID) {
        this.storeManagerID = storeManagerID;
    }
}